package grape.crm.service.customer.map;

import grape.base.service.user.dto.UserThirdCreateParam;
import grape.common.service.pojomapper.ServiceMapper;
import grape.crm.service.customer.param.AddCustomerParam;
import grape.crm.service.customer.po.Customer;
import org.mapstruct.Mapper;
import org.mapstruct.ReportingPolicy;

/**
 * Created by yangwei
 * Created at 2020/9/15
 */
@Mapper(componentModel = "spring",unmappedTargetPolicy = ReportingPolicy.IGNORE)
public interface CustomerServiceMapper extends ServiceMapper<Customer> {

    Customer paramToPo(AddCustomerParam param);
}
